<template>
    <div class="Chkaijiang">
        <div class="guding">
            <div class="headerone">
                <span class="src"></span>
                <span class="title"> 北京PK拾</span>
            </div>
            <mt-navbar v-model="selected" class="zhubu">
                <mt-tab-item id="1">
                    <span class="ml"> 近20期</span>
                </mt-tab-item>
                <mt-tab-item id="2">
                    <span class="ml"> 近50期</span>
                </mt-tab-item>
                <mt-tab-item id="3">
                    <span class="ml"> 近100期</span>
                </mt-tab-item>
                <mt-tab-item id="4">
                    <span class="ml"> 近300期</span>
                </mt-tab-item>
            </mt-navbar>
            <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
        </div>
        <!-- tab-container -->

        <mt-tab-container v-model="selected" class="fubu">
            <mt-tab-container-item id="1">
  <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>
              <div class="headerlast">
                <span class="qihao"> 期号</span>
                <span class="kaijiang">开奖号码</span>
            </div>

            </mt-tab-container-item>
            <mt-tab-container-item id="2 ">

            </mt-tab-container-item>
            <mt-tab-container-item id="3 ">

            </mt-tab-container-item>
            <mt-tab-container-item id="4 ">

            </mt-tab-container-item>
        </mt-tab-container>

        <!-- <div>
            <div style="float:left ">555555555555555555555555555555555</div>
            <div id="slider " class="mui-slider " style="float:left ">
                <div id="sliderSegmentedControl " class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted ">
                    <div class="mui-scroll ">
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                        <span class="span ">1</span>
                    </div>
                </div>

            </div>
        </div> -->
    </div>
</template>
<script>
import mui from "../../lib/mui/js/mui.min.js";
import { Toast } from "mint-ui";
export default {
    data() {
        return {
            selected: "1"
        };
    },
    mounted() {
        // 当 组件中的DOM结构被渲染好并放到页面中后，会执行这个 钩子函数
        // 如果要操作元素了，最好在 mounted 里面，因为，这里时候的 DOM 元素 是最新的
        // 2. 初始化滑动控件
        mui(".mui-scroll-wrapper").scroll({
            deceleration: 0.0006 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
        });
    },
    methods: {}
};
</script>
<style lang="scss" scoped>
span {
    display: inline-block;
}

.Chkaijiang {
    .guding {
        position: fixed;
        width: 100%;
        z-index: 99;
    }
    .headerlast {
        display: flex;
        justify-content: flex-start;
        font-size: 0.22rem;
        border: 1px solid #dedede;
        background: #f3f3f3;
        .qihao {
            width: 2rem;
            text-align: center;
            border-right: 1px solid #dedede;
        }
        .kaijiang {
            width: 5.49rem;
            text-align: center;
        }
    }
    .headerone {
        width: 100%;
        background: red;
        height: 1rem;
        text-align: center;
        padding: 0 0.3rem;
        line-height: 1rem;
        .title {
            color: #fff;
            font-size: 0.36rem;
            margin: 0 auto;
        }
        .src {
            background: url("../../img/Game/返回2.png");
            height: 0.37rem;
            width: 0.17rem;
            background-size: 0.17rem 0.37rem;
            float: left;
            position: relative;
            top: 0.3rem;
        }
    }
    .zhubu {
        .mint-tab-item {
            border-bottom: 0.03rem solid #e0e0e0;
        }
        .is-selected {
            border-bottom: 0.03rem solid #d51313;
            color: #d51313;
            margin-bottom: 0px;
        }
        .ml {
            font-size: 0.32rem;
        }
        padding-bottom: 0.3rem;
    }

    .fubu {
        padding-top: 2.3rem;
    }
}
</style>

